package org.pearl.validation.demo.service.impl;

import lombok.CustomLog;
import lombok.extern.apachecommons.CommonsLog;
import lombok.extern.slf4j.Slf4j;
import org.pearl.validation.demo.pojo.User;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

/**
 * Created by TD on 2021/5/18
 */
@Service
@Slf4j
public class TestService {

    @Validated
    public void testValid(User user) {
        log.info("lombok");
        System.out.println("TestService");
    }
}


